home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in.1</name>
- <id>-1</id>
- <cardCount>204</cardCount>
- <cardID>2991</cardID>
- <listID>58338</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>--ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-
- --
- -- ΓÇóΓÇóΓÇóΓÇóΓÇó INITInfo Stack ΓÇóΓÇóΓÇóΓÇóΓÇó
- -- ©1990 MagiMac Publishing
- --
- -- INITInfo by Glenn Brown and Gary Ouellet
- --
- -- stack design by Geneviève Crabe
- --
- -- SysStuff XFCN ©1990 by Maurice Volaski
- --
- --ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-
- --
- -- GLOBALS: glcStringToFind, glcFoundOne, glcJustPopped, glcFinding
- -- glcGotSysInfo, glcHelpMsgs
- --
- -- EXTERNALS: SysStuff
- --
- --ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-ΓÇó-
-
- on openStack -- initialize global variables
- global glcStringToFind, glcFoundOne, glcJustPopped, glcFinding
- global glcGotSysInfo, glcHelpMsgs
- set the cursor to watch
- put empty into glcStringToFind
- put false into glcFoundOne
- put false into glcJustPopped
- put false into glcFinding
- put false into glcGotSysInfo
- put empty into card field "System Info" of card "System Info"
- put card field "help messages" of card 1 into glcHelpMsgs
- end openStack
-
- ----------------------------------------------------------------------
- -- Navigation handlers
-
- on goHome
- checkHelp 1
- visual effect iris close
- go Home
- end goHome
-
- on nextCard
- checkHelp 3
- visual effect scroll left
- go to next card
- end nextCard
-
- on nextSection
- checkHelp 4
- set the cursor to watch
- visual effect scroll left
- go to card 1 of next bkgnd
- end nextSection
-
- on prevCard
- checkHelp 5
- visual effect scroll right
- go to previous card
- end prevCard
-
- on prevSection
- checkHelp 6
- set the cursor to watch
- visual effect scroll right
- go to card 1 of prev bkgnd
- end prevSection
-
- on goContents
- checkHelp 10
- visual effect dissolve fast
- go to card "Contents"
- end goContents
-
- on goIndex
- checkHelp 11
- visual effect dissolve fast
- go to card "Index"
- end goIndex
-
- on arrowKey
- -- don't want the user to use the up/down arrow keys
- -- arrowKey handlers for left and right in appropriate bkgnd scripts
- end arrowKey
-
- on myArrowKey theKey
- if theKey = "right" then click at the loc of bkgnd button "next"
- else if theKey = "left" then click at the loc of bkgnd button "prev"
- end myArrowKey
-
- on goBack -- returns to the last card accessed
- checkHelp 7
- global glcJustPopped
- pop card into x
- if x is not empty then
- if "initinfo" is in x then
- put true into glcJustPopped
- visual effect scroll down fast
- go to x
- end if
- end if
- end goBack
-
- ----------------------------------------------------------------------
- on openCard -- this makes sure every card is "pushed" in sequence
- global glcJustPopped, glcFinding
- if glcFinding then exit openCard
- if glcJustPopped then put false into glcJustPopped
- else push recent card
- end openCard
-
- ----------------------------------------------------------------------
- -- Help handlers.
-
- on helpButton
- checkHelp 2
- answer "To get help, click any button or field while holding" ¬
- && "down the Option key."
- end helpButton
-
- on checkHelp n
- if the optionKey is down then
- global glcHelpMsgs
- get line n of glcHelpMsgs
- delete char 1 to 3 of it
- -- answer "INITInfo Help:" & return & return & it
- answer it
- exit to HyperCard
- end if
- end checkHelp
-
- ----------------------------------------------------------------------
- -- This script toggles between a diamond and a space in front of
- -- each line of the target.
- --
- on fieldClick
- put word 2 of the clickLine into n
- put value (the clickLine) into lineContents
- if lineContents is not empty then
- if char 1 of lineContents is "Γùè" then
- put " " into c